package com.kx.smsolatform.service;

import com.kx.smsplatform.common.model.StandardReport;
import com.kx.smsplatform.common.model.StandardSubmit;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface SearcherService {
    /**
     *添加日志信息
     */
    void addLog(StandardSubmit submit) throws IOException;
    /**
     *更新日志信息
     */
    void updateLog(StandardReport report) throws IOException;

    /**
     *根据查询条件获取数据
     */
    List<Map> searchLog(String paras) throws IOException;

    /**
     *满足条件的总条数
     */
    Long searchLogCount(String paras) throws IOException;

    /**
     *查询状态信息，成功、失败、发送中
     */
    Map<String, Long> statSendStatus(String paras) throws IOException;
}
